package com.senlingspace.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 门店设备对象 slkj_equipment_shop
 *
 * @author SenlingSpace
 * @date 2024-10-17
 */
public class SlkjEquipmentShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 设备id */
    @Excel(name = "设备id")
    private Long equipmentId;



    /** 门店id */
    @Excel(name = "门店id")
    private Long shopId;

    /** 仓库其他类型时的备注 **/
    private String warehouse;



    /** 设备数量 */
    @Excel(name = "设备数量")
    private Long num;

    /** 交接单 */
    @Excel(name = "交接单")
    private String deliveryReceipt;

    /** 备注 */
    @Excel(name = "备注")
    private String inventory;

    /** '1'是仓库，'2'是其他 */
    @Excel(name = "'1'是仓库，'2'是其他")
    private Long shopSelection;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEquipmentId(Long equipmentId)
    {
        this.equipmentId = equipmentId;
    }

    public Long getEquipmentId()
    {
        return equipmentId;
    }

    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }

    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }
    public void setDeliveryReceipt(String deliveryReceipt)
    {
        this.deliveryReceipt = deliveryReceipt;
    }

    public String getDeliveryReceipt()
    {
        return deliveryReceipt;
    }
    public void setInventory(String inventory)
    {
        this.inventory = inventory;
    }

    public String getInventory()
    {
        return inventory;
    }
    public void setShopSelection(Long shopSelection)
    {
        this.shopSelection = shopSelection;
    }

    public Long getShopSelection()
    {
        return shopSelection;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public SlkjEquipmentShop setWarehouse(String warehouse) {
        this.warehouse = warehouse;
        return this;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("equipmentId", getEquipmentId())
                .append("shopId", getShopId())
                .append("num", getNum())
                .append("deliveryReceipt", getDeliveryReceipt())
                .append("inventory", getInventory())
                .append("shopSelection", getShopSelection())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
